import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import create from '@/components/create'
import wages from '@/components/wagesList/wages'
import wagesDetail from '@/components/wagesList/wagesDetail'
import manyYear from '@/components/admin/manyYear'
import dataManage from '@/components/dataManage/dataManage'
import matchOrder from '@/components/orderManage/matchOrder'
import transportBillManage from '@/components/orderManage/transportBillManage'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/helloWorld',
      name: 'HelloWorld',
      component: HelloWorld
    },
    {
      path: '/',
      name: 'create',
      component: create
    },
    {
      path: '/wages',
      name: 'wages',
      component: wages
    },
    {
      path: '/wagesDetail',
      name: 'wagesDetail',
      component: wagesDetail
    },
    {
      path: '/manyYear',
      name: 'manyYear',
      component: manyYear
    },
    {
      path: '/dataManage',
      name: 'dataManage',
      component: dataManage
    },
    {
      path: '/a',
      name: 'matchOrder',
      component: matchOrder
    },
    {
      path: '/transportBillManage',
      name: 'transportBillManage',
      component: transportBillManage
    }
  ]
})
